#pragma once
//============================================================================
// Copyright (C) 2003-2013 Brett R. Jones 
// All Rights Reserved
//
// You may redistribute and/or modify for non commercial and commercial uses 
// provided this copyright notice remains in place and is not modified
//
// This code is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
//
// brettjones1900@gmail.com
// http://www.p2panarchy.com
//============================================================================


#define MAX_NODE_LIST_LEN 2048
class RcSysPktNodeList : public RcSysPktHdr
{
public:
	//=== constructor ===//
	RcSysPktNodeList()
	{ 
		m_u16PktLen = sizeof( RcSysPktNodeList) - MAX_NODE_LIST_LEN;
		m_u16PktType = RC_SYS_PKT_TYPE_NODE_LIST; 
	}
	//=== methods ===//
	RCODE AddNode( RcSysPktAnnounce * poPktAnn );

	//=== vars ===//
	U16			m_u16Action;
	U32			m_u32Res3;
	U32			m_u16ListCnt;
	U8			m_au8List[ MAX_NODE_LIST_LEN ];



};